IAWP\View B

Total Complexity 78
Dependencies 16
Dependents 1
Total lines 342
Lines of code 282
Logical lines of code 203
Comment lines 26
Methods 24
Properties 7

Methods 24

Method Rating Maintainability Complexity Lines of code
fetch_resource()
A
45 11 41
get_campaign()
A
51 10 24
fetch_or_create_session()
S
58 6 16
__construct()
S
56 4 18
set_views_postmeta_for_home()
S
56 4 16
link_with_previous_view()
S
56 4 16
set_views_postmeta()
S
65 5 9
fetch_or_create_referrer()
S
60 4 11
fetch_or_create_resource()
S
57 3 17
set_views_postmeta_for_shop_page()
S
57 3 15
fetch_last_viewed_resource()
S
60 3 13
fetch_or_create_city()
S
59 3 13
fetch_or_create_country()
S
59 3 12
set_views_postmeta_for_singular()
S
60 2 12
fetch_referrer()
S
64 2 8
is_internal_referrer()
S
77 2 3
strip_www()
S
70 2 6
set_sessions_final_view()
S
70 1 5
create_view()
S
72 1 4
set_sessions_initial_view()
S
71 1 5
create_session()
S
70 1 4
set_session_total_views()
S
68 1 6
viewed_at()
S
80 1 3
fetch_current_session()
S
70 1 5